//
//  replaykitApp.swift
//  replaykit
//
//  Created by zhang on 2025/7/31.
//

import SwiftUI

@main
struct replaykitApp: App {
    var body: some Scene {
        WindowGroup {
            CameraViewControllerRepresentable()
        }
    }
}

// SwiftUI包装器，用于在SwiftUI中使用UIKit的CameraViewController
struct CameraViewControllerRepresentable: UIViewControllerRepresentable {
    func makeUIViewController(context: Context) -> CameraViewController {
        return CameraViewController()
    }
    
    func updateUIViewController(_ uiViewController: CameraViewController, context: Context) {
        // 不需要更新
    }
}
